try{
    var cfg = require('app/config');

    print('app runing');
    
    iot.audio.setChannel(2);
    iot.audio.setSpeakerVol(100);
    iot.gpio.setup(9,iot.gpio.GPIO_MODE_OUTPUT)
    iot.gpio.output(9,1)
    print("waiting network")
    
    iot.network.wait_network_ready();
    iot.os.go('/js/app/poc.js');
    
    iot.os.loop()
}catch(e){
    print(e)
}
